export default function setHtmlFontSize(baseScale = 19.2) {
    let htmlWidth =
      document.documentElement.clientWidth || document.body.clientWidth;
  
    if (htmlWidth >= baseScale * 100) {
      htmlWidth = baseScale * 100;
    }
    
    const htmlDom = document.getElementsByTagName("html")[0];
    htmlDom.style.fontSize = `${htmlWidth / baseScale}px`;
    
  }